class A_Logger extends Event_Logger { # specifically for A_Class-es
	public function onBeforeCreate(Event_Event $oEvent){
		$this->log(new A_Log_Message($oEvent->getType(), 'NEW A_CLASS'));
		$this->log(
			new A_Log_Message(
				$oEvent->getType(),
				implode(', ', $oEvent->getArgs()
			)
		);
	}
	public function onAfterCreate(Event_Event $oEvent){
		$this->log(
			new A_Log_Message(
				$oEvent->getType(),
				implode(', ', $oEvent->getArgs())
			)
		);
		$this->log(new A_Log_Message($oEvent->getType(), 'A_CLASS CREATED'));
	}
	public function onException(Event_Exception $oEvent){
		$oEx = $oEvent->getException();
		$this->log(
			new A_Log_Message(
				'Exception',
				$oEx->getMessage().'#'.$oEx->getCode()
			)
		);
	}
}